package com.api.base.dao;

import com.api.base.model.User;
import com.api.core.ApiMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper extends ApiMapper<User> {
    Map<String, Object> info(Long id);

    List<Map<String, Object>> registerAnalysis();

    User selectByReferralCode(String referralCode);
}